package com.jy.admin.config;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.nacos.api.config.annotation.NacosValue;
import com.google.common.collect.Lists;
import com.jsoniter.JsonIterator;
import com.jsoniter.any.Any;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Component;

import java.util.*;

/**
 * Created with IntelliJ IDEA.
 * User: yujianfu (mr.vencnet@gmail.com)
 * Date: 2019-11-25
 * Time: 13:10
 */

@Component
public class ApolloConfigUtil {


    @NacosValue(value = "${server.test:false}", autoRefreshed = true)
    private boolean isServerTest;

    public boolean isServerTest() {
        return isServerTest;
    }

}
